#include "App.hh"
#include "MainScene.hh"
#include <iostream>
#include <stdexcept>

int main()
{
    std::cout << "Run from Linux!" << std::endl;
    try
    {
        sirtet::App app(std::make_unique<sirtet::MainScene>(),
                        sirtet::AppConfig{.app_name = "Hello", .window_width = 1080, .window_height = 720});
        app.run();
    }
    catch (const std::exception &e)
    {
        std::cerr << "Error: " << e.what() << std::endl;
        return -1;
    }
    return 0;
}